/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package routing;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;

/**
 *
 * @author Dominik
 */
@ManagedBean
@RequestScoped
public class Router {
    private final static String CODEEINGEBENFORM= "./codeeingeben_form.xhtml";
    private final static String CODEEINGEBENBEST= "./codeeingeben_bestaetigung.xhtml";
    private final static String CODELESENFORM= "./codelesen_form.xhtml";
    private final static String CODELESENBEST= "./codelesen_bestaetigung.xhtml";
    private final static String INDEX= "./index.xhtml";

    /**
     * @return the CODEEINGEBENFORM
     */
    public static String toCodeEingebenForm() {
        return CODEEINGEBENFORM;
    }

    /**
     * @return the CODEEINGEBENBEST
     */
    public static String toCodeEingebenBest() {
        return CODEEINGEBENBEST;
    }

    /**
     * @return the CODELESENFORM
     */
    public static String toCodeLesenForm() {
        return CODELESENFORM;
    }

    /**
     * @return the CODELESENBEST
     */
    public static String toCodeLesenBest() {
        return CODELESENBEST;
    }
    
    public static String toIndex() {
        return INDEX;
    }

    /**
     * Creates a new instance of Router
     */
    public Router() {
    }
}
